package com.ts.animal.service;

import com.ts.animal.constant.AnimalConstant;
import com.ts.animal.domain.WarningRecordDO;
import com.ts.common.utils.Result;
import com.ts.common.utils.UtilDate;
import com.ts.system.util.SystemUtil;

import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 预警记录
 *
 * @author bobby
 * @email bobby@126.com
 * @date 2022-09-02 16:17:49
 */
public interface WarningRecordService {

    WarningRecordDO get(Integer id);

    List<Map<String, Object>> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(Result result, WarningRecordDO warningRecord);

    int update(Result result, WarningRecordDO warningRecord);

    int remove(Result result, Integer id);

    int batchRemove(Result result, Integer[] ids);

    void warning();

    void stationAndTagWarning();

    public void pushWarnInfoToWeb();

    public void handleWarn();
}
